<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>output</title>
</head>
<body>
<div>
<form oninput="x.value=volume.value">
  <input type="range" name="volume" value="50" />
  <output name="x"></output>
</form>
</div>
</body>
</html>